﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using iLangl.BusinessModel.DAL.XMLStorage;
using System.Threading;

namespace iLangl.Tests.MockupXmlStorageFixture
{
	[TestClass]
	public class iLanglMockupXmlStorageTest
	{
		[TestMethod]
		public void iLanglMockupXmlStorage()
		{
			dtoXmlStorage storage = XmlStorageManager.Instance.Storage;

			XmlStorageManager.Instance.AcceptChanges();

			Thread.Sleep(1000);

			Assert.IsTrue(XmlStorageManager.Instance.ChaneEventRiseAmmount <= 0);
		}
	}
}
